package demo1;

public class Test1 {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addLast(8);
        mySingleList.addLast(8);
        mySingleList.addLast(8);
        mySingleList.addLast(1);

        mySingleList.display();
        mySingleList.display();
        System.out.println();
        mySingleList.removeAllKey(8);
        mySingleList.display();
    }
}
